package com.aspose.cells;

class zbha extends zck {
   zbha(zn var1, float var2, float var3, zbkr var4) {
      super(var1, var2, var3, var4);
   }

   com.aspose.cells.b.a.b.a.ze a(com.aspose.cells.b.a.b.zq var1) {
      com.aspose.cells.b.a.b.a.ze var2 = new com.aspose.cells.b.a.b.a.ze();
      float var3 = 0.0F;
      float var4 = 0.0F;
      float var5 = 0.0F;
      float var6 = 0.0F;
      com.aspose.cells.b.a.b.zo[] var7 = new com.aspose.cells.b.a.b.zo[18];
      float var8 = Math.min(var1.h(), var1.i());
      if (this.e.m != null) {
         if (this.e.m.a.size() > 0) {
            var3 = var8 * (com.aspose.cells.b.a.ze.a(this.e.m.a.get(0)) / 100000.0F);
            var4 = var8 * com.aspose.cells.b.a.ze.a(this.e.m.a.get(1)) / 100000.0F;
            var5 = var8 * com.aspose.cells.b.a.ze.a(this.e.m.a.get(2)) / 100000.0F;
            var6 = var1.h() * com.aspose.cells.b.a.ze.a(this.e.m.a.get(3)) / 100000.0F;
         } else {
            var3 = var8 * 0.25F;
            var4 = var8 * 25000.0F / 100000.0F;
            var5 = var8 * 25000.0F / 100000.0F;
            var6 = var1.h() * 48123.0F / 100000.0F;
         }
      } else {
         var3 = var8 * 0.25F;
         var4 = var8 * 25000.0F / 100000.0F;
         var5 = var8 * 25000.0F / 100000.0F;
         var6 = var1.h() * 48123.0F / 100000.0F;
      }

      var7[0] = new com.aspose.cells.b.a.b.zo(var1.f(), var1.g() + var1.i() / 2.0F);
      var7[1] = new com.aspose.cells.b.a.b.zo(var1.f() + var5, var1.g() + var1.i() / 2.0F - var4);
      var7[2] = new com.aspose.cells.b.a.b.zo(var1.f() + var5, var1.g() + var1.i() / 2.0F - var3 / 2.0F);
      var7[3] = new com.aspose.cells.b.a.b.zo(var1.f() + (var1.h() - var6) / 2.0F, var1.g() + var1.i() / 2.0F - var3 / 2.0F);
      var7[4] = new com.aspose.cells.b.a.b.zo(var1.f() + (var1.h() - var6) / 2.0F, var1.g());
      var7[5] = new com.aspose.cells.b.a.b.zo(var1.f() + (var1.h() - var6) / 2.0F + var6, var1.g());
      var7[6] = new com.aspose.cells.b.a.b.zo(var1.f() + (var1.h() - var6) / 2.0F + var6, var1.g() + var1.i() / 2.0F - var3 / 2.0F);
      var7[7] = new com.aspose.cells.b.a.b.zo(var1.f() + var1.h() - var5, var1.g() + var1.i() / 2.0F - var3 / 2.0F);
      var7[8] = new com.aspose.cells.b.a.b.zo(var1.f() + var1.h() - var5, var1.g() + var1.i() / 2.0F - var4);
      var7[9] = new com.aspose.cells.b.a.b.zo(var1.f() + var1.h(), var1.g() + var1.i() / 2.0F);
      var7[10] = new com.aspose.cells.b.a.b.zo(var1.f() + var1.h() - var5, var1.g() + var1.i() / 2.0F + var4);
      var7[11] = new com.aspose.cells.b.a.b.zo(var1.f() + var1.h() - var5, var1.g() + var1.i() / 2.0F - var3 / 2.0F + var3);
      var7[12] = new com.aspose.cells.b.a.b.zo(var1.f() + (var1.h() - var6) / 2.0F + var6, var1.g() + var1.i() / 2.0F - var3 / 2.0F + var3);
      var7[13] = new com.aspose.cells.b.a.b.zo(var1.f() + (var1.h() - var6) / 2.0F + var6, var1.g() + var1.i());
      var7[14] = new com.aspose.cells.b.a.b.zo(var1.f() + (var1.h() - var6) / 2.0F, var1.g() + var1.i());
      var7[15] = new com.aspose.cells.b.a.b.zo(var1.f() + (var1.h() - var6) / 2.0F, var1.g() + var1.i() / 2.0F - var3 / 2.0F + var3);
      var7[16] = new com.aspose.cells.b.a.b.zo(var1.f() + var5, var1.g() + var1.i() / 2.0F - var3 / 2.0F + var3);
      var7[17] = new com.aspose.cells.b.a.b.zo(var1.f() + var5, var1.g() + var1.i() / 2.0F + var4);
      var2.b(var7);
      return var2;
   }
}
